Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lm-Cut heuristic #21

Merged
merged 19 commits into from
Sep 6, 2024
Merged

Lm-Cut heuristic #21

merged 19 commits into from
Sep 6, 2024

Conversation

danielz9999
Copy link
Contributor

Adds the Lm-Cut heuristic to heuristics as well as tests for it. Uses a modified version of the relaxed_pgraph_search function to get hmax costs and then runs the Lm-Cut algorithm.

@ztangent
Copy link
Member

Thank you for contributing this! I'll take a closer look when I have bit more time next week.

@ztangent
Copy link
Member

ztangent commented Sep 6, 2024

Refactored the implementation a bunch to avoid code reduplication and improve style consistency! I will likely make more performance improvements to the implementation in the main branch (e.g. avoid re-running the entire RPG search multiple times), but I think this can be merged now.

Thanks again for contributing this @danielz9999! It was very helpful for understanding how LMCut works and is implemented.

@ztangent ztangent merged commit 97f1fe9 into JuliaPlanners:master Sep 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants